package com.yc.supermarket.mapper;

import com.yc.supermarket.entity.User;
import com.yc.supermarket.entity.Admin;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    User login (User user);
    Admin admlogin(Admin admin);
    int addUser(User user);
    int usermodify(User user);
    List<User> find(Map<String, Object> map);
    User findById(int uid);

}
